import Vue from 'vue'
import Router from 'vue-router'

const _import = require('./_import_' + process.env.NODE_ENV)

Vue.use(Router)

export const constantRouterMap = [

  { path: '/login', component: _import('login/login'), hidden: false },

  {
    path: '/',component: _import('login/login'), hidden: false
  }
 ]

export default new Router({
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRouterMap
})
